Improving Test Coverage for UML State Machines Using Transition Instrumentation

نویسندگان

  • Mario Friske
  • Holger Schlingloff
چکیده

We discuss the problem of generating test suites from UML state machines and present a method to extend the capabilities of existing automated test case generators. Current tools provide only a limited coverage for different testing objectives. We argue that a better coverage can be achieved by instrumenting transitions, and performing an appropriate preand postprocessing. We describe the necessary enhancements of the UML model and demonstrate our method on a simple example. We further report on an industrial case study where we successfully applied our method for generating a validation test suite for a safety-relevant communication protocol.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Automated Test Code Generation from UML Protocol State Machines

This paper presents a framework for automated generation of executable test code from UML 2.0 protocol state machines. It supports several coverage criteria for state models, including state coverage, transition coverage, and basic and extended round-trip coverage. It transforms the state invariants and transition postconditions of a state model into executable assertions to be verified against...

متن کامل

UML Diagrams and Source based Automatic Test Suite Regeneration for Improving State Model Coverage

Automated test regeneration intends to ensure high coverage of system model from an existing test suite. While regenerating test suite, most of the existing techniques ignore coverage achieved by existing test suite. As a result, these techniques leave important model elements untested. Thus, an automatic test regeneration technique to achieve high state model coverage is proposed. In the propo...

متن کامل

State-based Coverage Analysis and UML-driven Equivalence Checking for C++ State Machines

This paper presents a methodology using an instrumentation-based behavioral checker to detect behavioral deviations of a C++ object implementing a finite state machine (FSM) and the corresponding specification defined as a UML state chart. The approach is able to link the source code with the appropriate states and provides a coverage analysis to show which states have been covered by unit, sys...

متن کامل

Automatic Test case Generation From UML State Chart Diagram

More than 50% of software development effort is spent in testing phase in a typical software development project. Test case design as well as execution consumes a lot of time. So automated generation of test cases is highly required. We present a testing methodology to test object oriented software based on UML state chart diagrams. In our approach we apply function minimization technique and g...

متن کامل

ParTeG - Integrating Model-based Testing and Model Transformations

In this paper, we present model-based testing for UML state machines with the test generator ParTeG. We sketch the impact of model transformations on modelbased testing and also sketch the results of a corresponding case study with ParTeG. 1 Model-Based Testing ParTeG [Wei] is a model-based testing tool that was initially developed to implement new algorithms into a prototype as a proof of conc...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007